package top.hepingan.java.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 阅读记录表
 * </p>
 *
 * @author author
 * @since 2025-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("astudent_reading_log")

public class AstudentReadingLog implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

//用户id
    @TableField("user_id")
    private Integer userId;
//标题内容

    @TableField("title")
    private String title;

//内容
    @TableField("content")
    private String content;

    @TableField("created_at")
    private LocalDateTime createdAt;


}
